home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9955 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news1.eznet.net!usenet
  2. From: Joe Mihalich <mihalich@eznet.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: MSVC++
  5. Date: Sat, 02 Mar 1996 12:57:47 -0500
  6. Organization: E-Znet Inc. Rochester N.Y. 14623 (716)-262-2485
  7. Message-ID: <31388C1B.365D@eznet.net>
  8. References: <4gt1s9$m7r@pixar.com>
  9. NNTP-Posting-Host: dialin-03.eznet.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win95; I)
  14.  
  15. Shalini Govil wrote:
  16. > Hi all
  17. > I had purchased MSVC++ V1.0 a while back and had compiled some DLLS for use
  18. > with Visual Basic. This was all in 16 bit . Now I want to re-compile my DLLS
  19. > for 32 bit applications, and needed some guidance
  20. > a> Will the 16 bit code compile verbatim as 32 bit?
  21. > b> MSVC++ V4.0 ONLY compiled in 32 bit. I was looking for something which would
  22. > compile both 16 bit and 32 bit. Any other compilers out there which could do
  23. > this?
  24. > Thanks for your help
  25. > Shalini
  26.  
  27.     Hi,
  28.  
  29.        Some 16 bit will not compile verbatim as 32 bit code in any compiler language
  30.     for the PC.  Any SDK specific calls that are not supported under win32 will
  31.     obviously not compile under win32.  Such things as Port opening/closing
  32.     and reading/writing have to be completely rewritten.
  33.     
  34.        Unfortunately, Microsoft does not provide ONE package that will provide
  35.     both a 16 and 32 bit compiler solution.  Versions of MSVC up to 1.52 (16 bit)
  36.     will provide a 16 bit compiler solution.  32 bit versions of MSVC are versions
  37.     2.0, 2.1, 2.2 and 4.0.  HOWEVER, you can use the 32 bit compiler to write
  38.     a program that will run under windows 3.1 with win32s running.  You just have
  39.     to make sure that the specific SDK function calls are supported under
  40.     win32s.
  41.  
  42.     Hope this helps
  43.     Joe Mihalich
  44.     mihalich@eznet.net
  45.